import type { RouteHandler } from './types.js';
interface Route {
    handler: RouteHandler;
    path: string;
}
interface RouteResult {
    handler: RouteHandler;
    params: Record<string, string>;
    path: string;
    query: Record<string, string | string[]>;
}
export declare class Router {
    private readonly _router;
    private readonly _routes;
    addRoute(route: Route): void;
    find(path: string): RouteResult;
    removeRoute(path: string): void;
    stats(): {
        key: string;
        numRoutes: number;
        routes: Route[];
    };
}
export {};
